
#ifndef _xNodeType_vmcollector_H_
#define	_xNodeType_vmcollector_H_


#include "xNodeType.h"
class xNodeType_vmcollector: public xNodeType {
	vector<DIVA_VM*> _vms ;
public:
	xNodeType_vmcollector() { _name = "vm_collector" ;} 
	virtual	void		setupPorts() ;
	virtual	string		getType() { return "vm_collector" ; }
	virtual xParameter  toXParameter(string toType, xOutMappingPort* linked_op) ;
	virtual void		createMappedObject() { } 
	virtual string		toMDString(MDSType);
	virtual int     parseMDString(vector<string>& tokens, int start_index);
	virtual bool verify_rhs_link(xOutMappingPort *left, xInMappingPort *right, xNodeType* rightnode);
	virtual bool verify_lhs_link(xOutMappingPort *left, xNodeType* leftnode, xInMappingPort *right);

	virtual bool		update() { return true ;  }
};

#endif 